package cc.mango.android.chartutil;

public class ChartCommons
{

	public static int			textSizeReviseCount					= 0;
	public static int			screenWidth						= 800;
	public static int			screenHeight						= 480;

	//字体在不同手机上的缩放比你
	public static float			scaleRatio						= 1;

	public final static int		UP_CHART_BACKGROUND_COLOR			= 0Xff0f2255;

	public final static int		DOWN_CHART_BACKGROUND_COLOR			= 0Xff0f2255;

	public final static int		INDICATOR_VERTICLAL_LINE_COLOR		= 0Xffffff00;

	public final static int		INDICATOR_CIRCLE_COLOR				= 0Xffffce17;

	public final static int		UP_CHART_BELOW_LINE_COLOR			= 0X8013338f;

	public final static int		UP_CHART_MA10_COLOR					= 0Xff01ec07;

	public final static int		UP_CHART_MA50_COLOR					= 0Xfff1f20a;

	// 涨的颜色
	public final static int		CANDLE_RISE_Color					= 0xff00ff00;

	// 跌的颜色
	public final static int		CANDLE_FALL_Color					= 0xffff0000;

	public final static int		UP_CHART_TOP_REGINE_COLOR			= 0xff0d1e4c;

	public static int			UP_CHART_BITMAP_TEXTSIZE				= 25;

	public static int			UP_CHART_X_LABEL_TEXTSIZE			= 17;

	public static int			UP_CHART_Y_LABEL_TEXTSIZE			= 17;

	public static int			DOWN_CHART_Y_LABEL_TEXTSIZE			= 17;

	public static int			UP_CHART_SMA_TEXTSIZE				= 15;

	public static final String	MA10								= " - MA10 ";
	public static final String	MA50								= " - MA50 ";

	public static float			LINE_WIDTH						= 4f;

	/*
	 * SunFlower 旋转参数
	 */
	public static final int		SUNFLOWER_SLEEP_TIME				= 1200 / 12;

	public static final int		SUNFLOWER_ROTATE_ANGLE_STEP			= 360 / 12;

	//	public static final int SUNFLOWER_ROTATE_ANGLE_STEP = 5;

	public static final int		SMA_DEFAUTE_VALUE					= -1;

	public static final int		RSI_DEFAUTE_VALUE					= -1;

	//透明的背景图片
	public final static int		SUNFLOWER_TRASPARENT_BACKGROUND_COLOR	= 0xFFffffff;

}